<%--Sort and paginated --%>
<display-el:setProperty name="pagination.sort.param" value="sort"/>
<display-el:setProperty name="pagination.sortdirection.param" value="dir"/>
<display-el:setProperty name="pagination.pagenumber.param" value="page"/>
<display-el:setProperty name="pagination.sort.asc.value" value="asc"/>
<display-el:setProperty name="pagination.sort.desc.value" value="desc"/>
<display-el:setProperty name="pagination.sort.skippagenumber" value="true"/>

<%--CSS relative --%>
<display-el:setProperty name="css.th.sorted" value="" />
<display-el:setProperty name="css.th.ascending" value="" />
<display-el:setProperty name="css.th.descending" value="" />
<display-el:setProperty name="css.th.sortable" value="" />
<display-el:setProperty name="css.tr.even" value="" />
<display-el:setProperty name="css.tr.odd" value="" />
<display-el:setProperty name="basic.empty.showtable">true</display-el:setProperty>
<display-el:setProperty name="basic.msg.empty_list_row">
<table width="96%" align="center" class="LineGray3px">
        <tr>
            <td width="24%">
            <table align="center">
                <tr>
                    <td><fmt:message key='text.nodata'/></td>
                </tr>
            </table>
            </td>
        </tr>
 </table>
</display-el:setProperty>

<%-- Banner --%>
<display-el:setProperty name="paging.banner.onepage" value=""/>
<display-el:setProperty name="paging.banner.placement" value="bottom"/>
<display-el:setProperty name="paging.banner.group_size" value="10"/>

<display-el:setProperty name="paging.banner.no_items_found">
    <div class="pager"><fmt:message key='displaytag.no_items_found'/></div>
</display-el:setProperty>
<display-el:setProperty name="paging.banner.one_item_found">
    <div class="pager">
    1 / 1 <fmt:message key='displaytag.page'/>, <fmt:message key='displaytag.records.param'><fmt:param value=' ${paging.fullSize}'/></fmt:message>
    </div>
</display-el:setProperty>
<display-el:setProperty name="paging.banner.all_items_found">
    <div class="pager"> 
1 / 1 <fmt:message key='displaytag.page'/>, <fmt:message key='displaytag.records.param'><fmt:param value=' ${paging.fullSize}'/></fmt:message>
    </div>
</display-el:setProperty>
<display-el:setProperty name="paging.banner.some_items_found" value=""/>
<display-el:setProperty name="paging.banner.full">
    <div class="pager">
        <a href="{1}" class="imgBtn"><img class="first" src="<c:url value='/images/icon_transparent.png'/>"/></a>
        <a href="{2}" class="imgBtn"><img class="prev" src="<c:url value='/images/icon_transparent.png'/>"/></a>
        <input type="text" id="displaytagPageInput" value="{5}"/> /  {6}  <fmt:message key='displaytag.page'/>, <fmt:message key='displaytag.records.param'><fmt:param value=' ${paging.fullSize}'/></fmt:message>
        <a href="{3}" class="imgBtn"><img class="next" src="<c:url value='/images/icon_transparent.png'/>"/></a>
        <a href="{4}" class="imgBtn"><img class="last" src="<c:url value='/images/icon_transparent.png'/>"/></a>
     </div>
      {0}
</display-el:setProperty>
<display-el:setProperty name="paging.banner.first">
    <div class="pager">
        <a class="imgBtn"><img class="first" src="<c:url value='/images/icon_transparent.png'/>"/></a>
        <a class="imgBtn"><img class="prev" src="<c:url value='/images/icon_transparent.png'/>"/></a>
        <input type="text" value="{5}" id="displaytagPageInput" /> /  {6}  <fmt:message key='displaytag.page'/>, <fmt:message key='displaytag.records.param'><fmt:param value=' ${paging.fullSize}'/></fmt:message>
        <a href="{3}" class="imgBtn"><img class="next" src="<c:url value='/images/icon_transparent.png'/>"/></a>
        <a href="{4}" class="imgBtn"><img class="last" src="<c:url value='/images/icon_transparent.png'/>"/></a>
     </div>
      {0}
</display-el:setProperty>
<display-el:setProperty name="paging.banner.last">
    <div class="pager">   
        <a href="{1}" class="imgBtn"><img class="first" src="<c:url value='/images/icon_transparent.png'/>"/></a>
        <a href="{2}" class="imgBtn"><img class="prev" src="<c:url value='/images/icon_transparent.png'/>"/></a>
        <input type="text" value="{5}" id="displaytagPageInput" /> /  {6}  <fmt:message key='displaytag.page'/>, <fmt:message key='displaytag.records.param'><fmt:param value=' ${paging.fullSize}'/></fmt:message>
        <a class="imgBtn"><img class="next" src="<c:url value='/images/icon_transparent.png'/>"/></a>
        <a class="imgBtn"><img class="last" src="<c:url value='/images/icon_transparent.png'/>"/></a>
     </div>
      {0}
</display-el:setProperty>
<display-el:setProperty name="paging.banner.page.link" value=""/>
<display-el:setProperty name="paging.banner.page.separator" value=""/>
<display-el:setProperty name="paging.banner.page.selected">
<script>
$(function()'{'
	$("#displaytagPageInput").change(function()'{'
		var val = parseInt($(this).val(),10);
		if (isNaN(val)) return;
		var url = "{1}";
		url = url.replace("page={0}", "page="+val);
		window.location.href=url;
	});
});
</script>

</display-el:setProperty>
